package com.gupaoedu.book.dubbo;

import org.springframework.context.support.ClassPathXmlApplicationContext;
import sun.applet.Main;

import java.io.IOException;

//通过网络方式把接口的实现提供出去
public class DubboMain {
    public static void main(String[] args) throws IOException {
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("classpath*:/META-INF/spring/user-provider.xml");
        context.start();
        System.in.read();

        //Main.main(args);
    }
}
